﻿namespace OAuth.Providers.ETrade
{

    public enum ConnectionModes
    {
        Sandbox,
        Production
    }

    public static class Instance
    {

        /// <summary>
        /// Initialize the ETrade provider.
        /// </summary>
        /// <param name="consumerKey">Consumer key.</param>
        /// <param name="consumerSecret">Consumer secret.</param>
        /// <param name="connectionMode">Set what server you want to connect to.</param>
        public static void Init(string consumerKey, string consumerSecret, ConnectionModes connectionMode)
        {
            Settings.ConsumerKey = consumerKey;
            Settings.ConsumerSecret = consumerSecret;
            Settings.ConnectionMode = connectionMode;
        }

    }

}